package com.rkc.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author `RKC`
 * @date 2021/10/30 15:17
 */
@Data
@ApiModel
public class CartItemRequest {

    @JsonProperty("product_id")
    @ApiModelProperty(value = "商品id", example = "1")
    private long productId;

    @JsonProperty("buy_num")
    @ApiModelProperty(value = "购买数量", example = "1")
    private int buyNum;

}
